<?php 
class administrator_model extends CI_Model {
function __construct()
        {
        parent::__construct();
                $this->load->helper("local");
                $this->load->helper('date');
                $this->load->database();
        }
		function administrator_login()
		{
			$_result ='';
			$_result .= "				<br><br>
									<div align='center'>
											<table border='1' style='border-collapse:collapse'>
											<form method='post' action='".base_url()."administrator/process_login'>
											<tr>
												<td style='background-color:#80c0e9;color:#fff;'><div style='padding:5px' align='right'><b>UserName:</b></div></td>
												<td><input type='text' name='txtUserName' /></td>
											</tr>
											<tr>
												<td style='background-color:#80c0e9;color:#fff;'><div style='padding:5px' align='right'><b>Password:</b></div></td>
												<td><input type='Password' name='txtPassword' /></td>
											</tr>
											<tr>
												<td></td>
												<td>
													<table align='left'>
														<tr>
															<td><input type='submit' name='cmdlogin' value='login' /></form></td>
														</tr>
													</table>
													
												</td>
											</tr>
										</table>
									</div>
									<br><br>";
			return($_result);
		} 

}
?>
